package com.itheima;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<String> arr = List.of("11", "22", "33", "44");
        System.out.println(arr);
        ArrayList<String> arr1 = new ArrayList<>(arr);
        arr1.add("55");
        arr1.forEach(c -> System.out.println(c));
    }
}
